package com.authine.cloudpivot.ext.dto.model.contract;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContractWriteOffRecord implements Serializable {

    private static final long serialVersionUID = 836097608165133183L;

    private String id;
    /**
     * 转采付款明细ID
     */
    @Schema(description = "转采付款明细ID 不能为空")
    private String transfer_payment_detail_id;
    /**
     * 订单商品ID
     */
    @Schema(description = "订单商品ID 不能为空")
    private String order_customer_goods_id;
    /**
     * 转采核销金额
     */
    @Schema(description = "核销金额 不能为空")
    private BigDecimal write_off_amount;
    /**
     * 转采付款时间
     */
    private Date transfer_payment_time;
    /**
     * 平台收款单ID
     */
    private String settle_id;


}
